[broadway] Fix some typos in the js code
authorAlexander Larsson <alexl@redhat.com>
Fri, 8 Apr 2011 09:45:16 +0000 (11:45 +0200)
committerAlexander Larsson <alexl@redhat.com>
Sun, 10 Apr 2011 18:16:13 +0000 (20:16 +0200)
gdk/broadway/broadway.js

index 1a485d882e1bc83d08ea448a3e81d0dccb156ac9..4a9b054446a5991b6d6b2f411cbddbce7c036015 100644 (file)
@@ -447,7 +447,7 @@ function cmdMoveSurface(id, x, y)
             * However this isn't *strictly* invalid, as any WM could have done whatever it
             * wanted with the positioning of the window.
             */
-           //surface.window.moveTo(surface.x, surface.y);
+           surface.window.moveTo(surface.x, surface.y);
        } else {
            var xOffset = surface.x;
            var yOffset = surface.y;
@@ -934,7 +934,7 @@ function connect()
            } else {
                w = window.innerWidth;
                h = window.innerHeight;
-               win.onresize = function(ev) { 
+               window.onresize = function(ev) { 
                    var w, h;
                    w = window.innerWidth;
                    h = window.innerHeight;